package forestsimulatorp3.model.simulator;

import forestsimulatorp3.view.MainWindow;

/**
 * Sends the log messages to the MainWindow textArea.
 * @author dielson
 *
 */
public class Logger {

	MainWindow mainWindow;

	public Logger(MainWindow mainWindow) {
		this.mainWindow = mainWindow;
	}

	public void notifyAction(String text) {
		mainWindow.notifyAction(text);
	}
}
